/**
  * @file		pwm.c
  * @author		Naresuan University: Advance Computer System, class of 2013
  * @version	V1.0.0
  * @date		18-September-2013
  * @brief		PWM module
  */

/* Includes ------------------------------------------------------------------*/
#include "pwm.h"

/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
/* Private function prototypes -----------------------------------------------*/
/* Private functions ---------------------------------------------------------*/


/**
  * @brief		Configure TIM for PWM operation.
  * @param		freq		Frequency of PWM waveform.
  * @retval		None
  */
void PWM_config(int freq)
{
}


/**
  * @brief		Writes an analog value (PWM wave) to a pin. 
  * @param		pin			Pin to write to.
  * @param		value 		Duty cycle: between 0 (always off) and 255 (always on).
  * @retval		None
  * @remark		
  */
void analogWrite(int pin, uint8_t value)
{
}
